package top.appx.vo;

import top.appx.entity.ArticleEntity;

import java.sql.Timestamp;

/**
 * Created by zwy on 2015-5-22.
 */
public class ArticleVO {
    private ArticleEntity entity;

    private String folderRname;
    public ArticleVO(ArticleEntity entity){
        this.entity = entity;
        this.folderRname = "国事新闻";
    }

    public int getId() {
        return entity.getId();
    }

    public String getTitle() {
        return entity.getTitle();
    }

    public String getContent() {
        return entity.getContent();
    }

    public Timestamp getCreateTime() {
        return entity.getCreateTime();
    }

    public Timestamp getUpdateTime() {
        return entity.getUpdateTime();
    }

    public Integer getReadCount() {
        return entity.getReadCount();
    }

    public Integer getFolderId() {
        return entity.getFolderId();
    }

    public Byte getGood() {
        return entity.getGood();
    }

    public Integer getRecommendCount() {
        return entity.getRecommendCount();
    }

    public Integer getCommentCount() {
        return entity.getCommentCount();
    }

    public Timestamp getLastCommentTime() {
        return  entity.getLastCommentTime();
    }
    public  String getFolderRname(){
        return this.folderRname;
    }

    public String getProfile(){return entity.getProfile();}
    public String getAuthor(){return entity.getAuthor();}
    public Integer getUserId(){return  entity.getUserId();}
}
